package com.zrgj.manager.mapper;

import com.zrgj.domain.ShoppingCar;

import java.util.List;

public interface ShoppingCarMapper {
    List<ShoppingCar> selectByUser(Integer userId);

    void insert(ShoppingCar cart);

    void update(ShoppingCar cart);

    List<ShoppingCar> selectByCart(ShoppingCar cart);

    void delete(Integer carId);
}
